package com.itcast;

import com.itheima.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @作者 itcast
 * @创建日期 2020/11/2 16:12
 **/
@Configuration
public class UserConfig {

    @Bean
    public User user(){
        User user = new User();
        return user;
    }
}
